package cn.shengongying.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * author: RXK
 * date: 2022/1/10 星期一
 * desc:
 */
@Getter
@Setter
public class PositionApplyInDTO extends IdInDTO{

    @ApiModelProperty(value = "类型(0:职位申请列表;1:面试列表;2:入职列表)")
    @NotNull(message = "类型不能为空")
    @Min(value = 0,message = "选择正确的类型")
    @Max(value = 2,message ="选择正确的类型")
    private Integer type;

}
